<!DOCTYPE html>
<html lang="zh-CN">

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
		{if $type=='article'}
		<title>{$title}-{$article.Category.Name}-{$name}</title>
		<meta name="keywords" content="{foreach $article.Tags as $tag}{$tag.Name},{/foreach}" />
		{php}$description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),100)).'...');{/php}
		<meta name="description" content="{$description}" />
		{elseif $type=='page'}
		<title>{$title}-{$name}</title>
		<meta name="keywords" content="{$title},{$name}"/>
		{php}$description = preg_replace('/[\r\n\s]+/', ' ', trim(SubStrUTF8(TransferHTML($article->Content,'[nohtml]'),100)).'...');{/php}
		<meta name="description" content="{$description}"/>
		<meta name="author" content="{$article.Author.StaticName}">
		{elseif $type=='index'}
		<title>{$name}{if $page>'1'}-第{$pagebar.PageNow}页{/if}-{$subname}</title>
		<meta name="Keywords" content="{$zbp->Config('Alist')->Alist_keywords}">
		<meta name="description" content="{$zbp->Config('Alist')->Alist_description}">
		{elseif $type=='category'}
		<title>{$title}-{$name}</title>
		<meta name="Keywords" content="{$title},{$name}">
		<meta name="description" content="{$category.Intro}">
		{else}
		<title>{$title}-{$name}</title>
		<meta name="Keywords" content="{$zbp->Config('Alist')->Alist_keywords}">
		<meta name="description" content="{$zbp->Config('Alist')->Alist_description}">
		{/if}
		<!--<link rel="shortcut icon" href="{$host}zb_users/theme/{$theme}/style/favicon.ico">-->
		<link rel="stylesheet" href="{$host}zb_users/theme/{$theme}/assets/plugins/bootstrap/css/bootstrap.min.css" />
		<link rel="stylesheet" href="{$host}zb_users/theme/{$theme}/style/{$style}.css" />
		<script src="{$host}zb_system/script/common.js" type="text/javascript"></script>
		<script src="{$host}zb_system/script/c_html_js_add.php" type="text/javascript"></script>		
		<!--<script type="text/javascript" src="{$host}zb_users/theme/{$theme}/assets/plugins/bootstrap/js/jquery-1.9.1.min.js"></script>-->
		<!--<script type="text/javascript" src="{$host}zb_users/theme/{$theme}/assets/plugins/bootstrap/js/bootstrap.min.js"></script>-->
	</head>

	<body>

		<header>

				<nav class="navbar navbar-inverse navbar-fixed-top transparent">
					<div class="container">
	
						<div class="navbar-header">
							<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
								<span class="sr-only">Toggle navigation</span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
							<a class="navbar-brand" href="{$host}">{$name}</a>
						</div>
	
						<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
							<ul class="nav navbar-nav">
								{module:navbar}
							</ul>
						</div>
	
					</div>
				</nav>

		</header>